package top.itlir.edc.service;

import java.util.List;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.PageRequest;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.domain.Specification;

import top.itlir.edc.domain.Courier;

public interface CourierService {
	void save(Courier courier);

	Page<Courier> pageQuery(Specification<Courier> spec,Pageable pageable);

	void delete(String ids);

	void restore(String ids);

	List<Courier> findAll();

	List<Courier> listajax();

} 
